home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48_2
/
strtonam
< prev
next >
Wrap
Text File
|
1995-03-31
|
1KB
|
36 lines
Article 3421 of comp.sys.handhelds:
Path: en.ecn.purdue.edu!noose.ecn.purdue.edu!samsung!zaphod.mps.ohio-state.edu!ub!acsu.buffalo.edu
From: cloos@acsu.buffalo.edu (James H. Cloos)
Newsgroups: comp.sys.handhelds
Subject: Re: EDIT/VISIT syseval or address needed
Message-ID: <54890@eerie.acsu.Buffalo.EDU>
Date: 17 Jan 91 20:10:45 GMT
References: <1158@telesoft.com>
Sender: news@acsu.Buffalo.EDU
Organization: State University of New York @ Buffalo
Lines: 20
Nntp-Posting-Host: lictor.acsu.buffalo.edu
There is an internal routine that will convert any string to an id
(aka global name). \<< #05B15h SYSEVAL \>> will do it. The following
ASC encoded program will do a typecheck first, then call 5b15 if the
argument is a string:
---start---
%%HP: T(3)A(R)F(.);
"D9D20ECE81D004051B50B2130327A"
----end----
Use ASC\-> & then store in 'S\->N'.
As for using usrlang exclusively, \<< "'" SWAP + STR\-> \>>, as Bruce
posted, is the only way (I can think of).
-JimC
--
James H. Cloos, Jr. Phone: +1 716 673-1250
cloos@ACSU.Buffalo.EDU Snail: PersonalZipCode: 14048-0772, USA
cloos@ub.UUCP Quote: <>